package cn.snow.boot.weather.service;

import cn.snow.boot.weather.vo.WeatherResponse;

/**
 * WeatherService 服务类
 *
 * @author liuwanxiang
 * @version 2017/9/10
 */
public interface WeatherService {

    /**
     * 通过城市ID获取天气信息
     * @param cityId
     * @return
     */
    WeatherResponse getDataByCityId(String cityId);

    /**
     * 通过城市名称获取天气信息
     * @param cityName
     * @return
     */
    WeatherResponse getDataByCityName(String cityName);


}
